package com.example.designModel.observe.enhance;



public class NBAObserver extends Observe {

    public NBAObserver(String name, Subject sub) {
        super(name,sub);
    }
    @Override
    public void close(String ab) {
        System.out.printf("%s %s 关闭NBA电视, 继续工作!",sub.getActionStatus(),name,ab);
        System.out.println(ab);
    }
}
